const fs = require("fs");

setTimeout(() => {
  fs.writeFile("./a.html", "hi lili", (err) => {
    console.log(err);
  });
}, 5000);
